home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Tutorial Material
/
Zone Tutorial
/
Structure Examples
/
4. Demo2
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-26
|
700b
|
34 lines
; Demo2 - try all combinations of mel & rhy.
(setq tonals
(activate-tonality (chromatic c 4) (major c 4) (c maj maj7 2 4)
(b& min 7 1 3) (aeolian f 3)))
(setq mel1 '(a b c d))
(setq mel2 '(a b c d ac bd ad cb))
(setq mel3 '((a b c)))
(setq rhy1 '(1/16 1/16 1/16 1/16 -1/16 1/16 1/16 1/16
-1/16 1/16 -1/16 1/16 1/16 1/16 -1/16 1/16)
)
(setq rhy2 '(1/16 1/16 1/16 1/16 -1/16 1/16 1/16 1/16
-1/16 1/8 1/16 1/16 1/8 1/16)
)
(def-symbol
solo mel1
)
(def-length
solo rhy1
)
(compile-song-p "ccl;output:" 1/4 "demo2"
; BARS |---|---|---|---|
changes tonals " . . . . "
solo changes "----------------"
)